<?php


if( $where ) {
    $requestAction = $this->createUrl('member/login/'.$where );
}
else {
    $requestAction = $this->createUrl('member/login');
}


?>

<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/pages/member_form.js"></script>
<div style="width:330px; text-align:left; margin-top:100px; margin-left:auto; margin-right:auto;">

    <?php include $this->getLayoutFile('block_messages'); ?>
    <form class="form1" method="post" action="<?php echo $requestAction; ?>" style="width:300px;">
        <fieldset>
            <legend> 登入 </legend>
            <div class="field">
                <label for="name"> 帳號 </label>
                <div class="show">
                    <input type="text" id="name" name="name" value="" />
                </div>
                <div class="info"></div>
            </div>
            <div class="field">
                <label for="password"> 密碼 </label>
                <div class="show">
                    <input type="password" id="password" name="password" value="" />
                </div>
                <div class="info"></div>
            </div>
            <div class="submitBlock">
                <input class="submit" type="submit" value="submit" />
            </div>
        </fieldset>
    </form>


</div>
